﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using MailHelper;
using NLCER;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                NLSMain.BuildTsk();
                NLSMain.ProcessTsk();

                Console.ReadLine();
            }
            catch (Exception exp)
            {
                Console.WriteLine(exp.Message+exp.StackTrace);
            }

            Console.Read();
            //注意修改成您的SMTP
            /*MailOper mob = new MailOper("mail.dongdns.com", 25, "dongwenchao@winitpro.com.cn", "Ruohan521-");

            //注意修改成您的SMTP---Test From App
            //MailOper mob = new MailOper(ConfigurationSettings.AppSettings);
            //mob.SendMail("netwenchao@hotmail.com", "dongwenchao@winitpro.com.cn", "This is a test mail from MailOB!", "content", false);
            Console.WriteLine("Send Mail Start!");

            //Test Mail
            NLSMain sls= new NLSMain();
            sls.Check2SendMail();
            Console.WriteLine("Send mail End@");
            Console.Read();*/
        }
    }
}
